# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=paper-icon-theme
pkgver=1.5.0
pkgrel=2
pkgdesc="Paper is a modern freedesktop icon theme"
url="https://snwh.org/paper"
arch="noarch"
license="CC-BY-SA-4.0"
depends=""
makedepends="meson"
install=""
options="!strip"
subpackages=""
source="paper-icon-theme-$pkgver.tar.gz::https://github.com/snwh/paper-icon-theme/archive/v.$pkgver.tar.gz"
builddir="$srcdir/paper-icon-theme-v.$pkgver"

build() {
	cd "$builddir"
	meson \
		--buildtype=plain \
		--prefix=/usr \
		. build
	ninja -C "$builddir"/build
}

package() {
	DESTDIR="$pkgdir" ninja -C "$builddir"/build install
}

sha512sums="be84bc332eba0e9c216435a130d3eed180fe1807d81ff7b3aadb3914fc130c9e243fb7fccef8febae1da6655f8e8a1bcf9420afb429e11e4c79bcbbb5bcd291b  paper-icon-theme-1.5.0.tar.gz"
